#ifndef LCD_QUEUE_H_
#define LCD_QUEUE_H_

#include "code/inc/config.h"

#define LCDMSGMAX   256
#define LCDQUEUEMAX 7

struct queuelist
{
	 char list[LCDMSGMAX];
};
struct queue
{
   uint32 head ;
   uint32 tail ;
   struct queuelist _queuelist[LCDQUEUEMAX];
};

void  lcdqueue_init(struct queue *queue);
uint8 lcdqueue_sendmsg(struct queue *queue,const char *buf);
uint8 lcdqueue_recvmsg(struct queue *queue,char *buf);


#endif
